package com.yannan.lock.web.service;

import com.yannan.lock.web.dto.UserRspDTO;
import com.yannan.lock.web.mapper.InstallationUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * InstallUserController
 * 安装人员service
 *
 * @author wu
 * @create 2016-10-25 14:15
 */
@Service
public class InstallUserService {

    @Resource
    private InstallationUserMapper installationUserMapper;

    public UserRspDTO getLoginUserByPhone(String phoneNumber) {
        return installationUserMapper.getLoginUserByPhone(phoneNumber);
    }
}